package com.menu;

import java.util.Map;

@SuppressWarnings(value = { "unchecked" })
public class ChildMenuItem
{
	private String index; 
	private String name; 
	private String href; 
	private String target; 
	private Map props; 
	private String img;
	
	public String getHref()
	{
		return href;
	}
	public void setHref(String href)
	{
		this.href = href;
	}
	public String getImg()
	{
		return img;
	}
	public void setImg(String img)
	{
		this.img = img;
	}
	public String getIndex()
	{
		return index;
	}
	public void setIndex(String index)
	{
		this.index = index;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public Map getProps()
	{
		return props;
	}
	public void setProps(Map props)
	{
		this.props = props;
	}
	public String getTarget()
	{
		return target;
	}
	public void setTarget(String target)
	{
		this.target = target;
	}
	
	public void addProp(String key, String value)
	{
		props.put(key,value);
	}
	public void delProp(String key)
	{
		props.remove(key);
	}
	public String getProp(String key)
	{
		return (String)props.get(key);
	}
}

